package com.etc.drug.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Prescription {
    //处方编号
    private String prescriptionId;
    //门诊编号
    private String osId;
    //病人编号
    private String patientId;
    //病人姓名
    private String patientName;
    //病人性别
    private String patientGender;
    //病人年龄
    private Integer patientAge;
    //用法说明
    private String prescriptionUsage;
    //处方时间
    @JsonFormat (pattern = "yyyy-MM-dd HH:mm:ss")
    private Date prescriptionTime;
    //抓药人id
    private String auditorId;
    //抓药人医生姓名
    private String docName;
    //审核是否通过
    private Integer examine;
    //病人是否抓药
    private Integer state;
}
